package com.netease.pris.activity.view;

import android.widget.Scroller;

class o
  implements Runnable
{
  private boolean b;
  private int c;
  private Scroller d;

  public o(NPullToFreshContainer paramNPullToFreshContainer)
  {
    this.d = new Scroller(paramNPullToFreshContainer.getContext());
  }

  private void a()
  {
    this.a.removeCallbacks(this);
  }

  public void a(int paramInt1, int paramInt2)
  {
    a();
    this.c = 0;
    this.d.startScroll(0, 0, -paramInt1, 0, paramInt2);
    NPullToFreshContainer.a(this.a, true);
    this.a.post(this);
  }

  public void run()
  {
    if (this.d.computeScrollOffset())
    {
      NPullToFreshContainer.a(this.a, this.c - this.d.getCurrX());
      this.a.invalidate();
      this.c = this.d.getCurrX();
      this.a.removeCallbacks(this);
      this.a.post(this);
    }
    while (true)
    {
      return;
      NPullToFreshContainer.a(this.a, false);
    }
  }
}

/* Location:           D:\android\hack\dex2jar-0.0.9.8\classes_dex2jar.jar
 * Qualified Name:     com.netease.pris.activity.view.o
 * JD-Core Version:    0.6.0
 */